package com.study.lu.demo.spi;

public class TeacherWrapper implements TeachInterface{
    private TeachInterface teachInterface;

    private String abc;

    public TeacherWrapper(TeachInterface teachInterface){
        this.teachInterface=teachInterface;
    }

    public TeacherWrapper(TeachInterface teachInterface,String abc){
        this.teachInterface=teachInterface;
        this.abc = abc;
    }

    @Override
    public void test() {
        System.out.println("=================TeacherWrapper=====================");
        teachInterface.test();
    }
}
